<template>
    <main class="main">
      <!-- 右边内容部分 -->
      <div class="main-content">
        <div class="main-left">
          <div class="left-content">
              1111111
          </div>        
        </div>
        <MainRight />
      </div>
    </main>
  </template>
  <script>
  //MainRight
  import MainRight from "@/components/MainRight.vue";
  export default {
    name: "SearchMainContent",
    components: {
      MainRight,
    },
    props: {
      msg: String,
    },
  };
  </script>
    <!-- Add "scoped" attribute to limit CSS to this component only -->
    <style scoped>
  /* 右侧主内容 */
  .main {
    width: 990px;
    min-height: 415px;
    /* background-color: #ffffff;
    border-radius: 10px; */
    padding: 0 10px;
  }
  
  .main-content {
    display: flex;
    justify-content: space-between;
  }
  
  /* 内容左侧样式 */
  .main-left {
    max-width: 600px;
    background-color: #ffffff;
    border-radius: 5px;
    margin-right: 15px;
  }
  
  .left-content {
    width: 600px;
    /* display: flex;
      flex-direction: column; */
  }
  
  .is-active {
    font-weight: bold;
  }
  
  /* 新增帖子数量样式 */
  .post_new_counts {
    text-align: center;
    border-bottom: 1px solid rgb(239, 243, 244);
    line-height: 48px;
    color: rgb(29, 155, 240);
    cursor: pointer;
  }
  
  @media screen and (max-width: 720px) {
    .main {
      width: 100%;
      padding: 0;
    }
    .main-left {
      width: 100%;
      margin-right: 0px;
    }
  
    .left-content {
      width: 100%;
    }
  }
  
  @media (max-width: 1050px) {
    .main {
      max-width: 600px;
    }
    .main-right {
      display: none;
      width: auto;
    }
  }
  
  @media (max-width: 1300px) {
  }
  </style>